package paytreasure.po;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 支付宝积分表
 * @author xhh
 * @date 2017年7月12日 
 *
 */
public class Integral {

	private String scoreId;        //积分ID
	
    private String acquire;        //获得
    
    private String exchange;       //兑换
    
    private Date createDate;       //创建日期
    
    private String yearMonth;

    private Date createTime;       //创建时间
    
    private String creater;        //创建者
    
    private Date updateTime;     //修改时间
    
    private String remark;         //备注
    
    private int status;            //状态

  

	public String getScoreId() {
		return scoreId;
	}

	public void setScoreId(String scoreId) {
		this.scoreId = scoreId;
	}

	public String getAcquire() {
		return acquire;
	}

	public void setAcquire(String acquire) {
		this.acquire = acquire;
	}

	public String getExchange() {
		return exchange;
	}

	public void setExchange(String exchange) {
		this.exchange = exchange;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
		if(createDate!=null){
			this.yearMonth = new SimpleDateFormat("yyyyMM").format(createDate);
		}
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}